import {Component, OnInit, ViewEncapsulation} from '@angular/core';
import {ImageServeService} from "app/shared/service/image/image-serve.service";

@Component({
  selector: 'partner',
  templateUrl: './partner.component.html',
  styleUrls: ['./partner.component.scss'],
  encapsulation: ViewEncapsulation.None
})
export class PartnerComponent implements OnInit {

  constructor(
    public imgService: ImageServeService,
  ) {}

  /**
   * @description 获取图标、图片
   * @param iconName 图片名
   * @author chensk740
   * @date 2018-1-29
   */
  getImg(iconName: string) {
    return this.imgService.getImg(iconName);
  }

  ngOnInit() {

  }

}
